<template>
  <div id="app">
    <homework :title="tit" :content="cont">
      <!-- <button>取消</button> -->
    </homework>
  </div>
</template>

<script>
import homework from "./homework.vue";
export default {
  name: "App",
  components: {
    homework,
  },
  data() {
    return {
      tit: "弹窗组件标题",
      cont: "弹窗组件的内容",
    };
  },
};
</script>

>
